package com.song.module.admin.response;

import cn.afterturn.easypoi.excel.annotation.Excel;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.math.BigDecimal;
import java.time.LocalDate;

/**
 * 功能描述
 *
 * @author song
 * @version 1.0
 * @date 2024-03-09 15:34:48
 */
@Data
public class ApChefAppointmentResponse {

    /**
     * ID
     */
    @TableId(value = "id", type = IdType.AUTO)
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    @ApiModelProperty(value = "id")
    private Integer id;
    /**
     * 姓名
     */
    @Excel(name = "姓名")
    @ApiModelProperty(value = "姓名")
    private String name;
    /**
     * 特长
     */
    @Excel(name = "特长")
    @ApiModelProperty(value = "特长")
    private String specialty;
    /**
     * 经验
     */
    @Excel(name = "经验")
    @ApiModelProperty(value = "经验")
    private Integer experience;
    /**
     * 评级
     */
    @Excel(name = "评级")
    @ApiModelProperty(value = "评级")
    private Integer rating;
    /**
     * 头像
     */
    @Excel(name = "头像")
    @ApiModelProperty(value = "头像")
    private String avatar;

    /**
     * 预约地址
     */
    @ApiModelProperty(value = "预约价格")
    private String address;
    /**
     * 预约电话
     */
    @ApiModelProperty(value = "预约价格")
    private String telPhone;

    /**
     * 预约人数
     */
    @Excel(name = "预约人数")
    @ApiModelProperty(value = "预约人数")
    private Integer reservationCount;
    /**
     * 预约时间
     */
    @NotNull(message = "预约时间不能为空")
    @ApiModelProperty(value = "预约时间")
    private LocalDate appointmentTime;

    /**
     * 1 早餐 2 午餐 3 晚餐
     */
    @NotNull(message = "请选择预约餐次")
    @ApiModelProperty(value = "1 早餐 2 午餐 3 晚餐")
    private Integer meals;

    /**
     * 价格
     */
    @Excel(name = "价格")
    @ApiModelProperty(value = "价格")
    private BigDecimal price;
    /**
     * 认证状态
     */
    @Excel(name = "认证状态")
    @ApiModelProperty(value = "认证状态")
    private Integer status;

    /**
     * 预约状态
     */
    @TableField(exist = false)
    @ApiModelProperty(value = "预约状态")
    private boolean appointmentStatus = false;





}
